package cate.common.table.farm.forbidden;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "混沌之地排行榜")
public class FMRankRow extends ERow {

        @NoteField(value = "排名起始")
        public int begin;

        @NoteField(value = "排名结束")
        public int end;

        @NoteField(value = "奖励")
        public String rewardStr;

        @Override
        public void parse(XSSFRowWrap xr) {
            this.id = xr.getInteger("ID");
            this.begin = xr.getInteger("排名起始", -1);
            this.end = xr.getInteger("排名结束", -1);
            this.rewardStr = xr.getString("奖励","");
        }

}
